﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using BioModel;

namespace BioDAL
{
    [ServiceContract]
    public interface ISalgDAL
    {
        void OpenConnection(string connectionString);
        void CloseConnection();

        #region Salg
        void InsertSalg(DateTime datoOprettet, int antalBilletter, string salgsType, double totalPris, int forestilling, int kundeTlf, List<Saede> s);
        Salg GetEnSalg(int salgId);
        List<Salg> GetAlleSalg(int telefonNr);
        void EditSalg(int telefonNr, string salgsType);
        #endregion
    }
}
